package com.atguigu.service_edu.client;


import com.atguigu.commonutils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import javax.servlet.http.HttpServletRequest;
import java.util.Map;

@FeignClient(value = "service-ucenter",fallback = UcenterFileDegradeFeignClient.class)
@Component
public interface UcenterClient {

    @GetMapping("/educneter/member/getMemberInfoById/{id}")
    public Map getMemberInfoById(@PathVariable(value = "id") String id);


}
